package com.smart_campus.campus.mapper;

import com.smart_campus.campus.domain.CampusMedia;import com.smart_campus.campus.vo.CampusMideaVo;import java.util.List;

/**
 * @author Alfred
 * @time: 2020/6/30 11:42
 */
public interface CampusMediaMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CampusMedia record);

    int insertSelective(CampusMedia record);

    CampusMedia selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CampusMedia record);

    int updateByPrimaryKey(CampusMedia record);

    List<CampusMideaVo> queryMidia(CampusMideaVo campusMidiaVo);

    Integer queryMax();
}